<div class="sideTitleContainer">
	<h2 class="sideTitleHeadline"><div class="sideTitleItemTitle">{itemLink}</div> {i18n:itemEdit_headlineText}</h2>
</div>

<form id="itemEditForm" action="/item/edit/{itemId}" method="post" accept-charset="UTF-8">
<table>
	<tr>
		<td colspan="2">{errorWidget}</td>
	</tr>
	<tr>
		<td valign="top">
			<table>
				<tr>
					<td>{i18n:itemEdit_titleLabel}</td>
				</tr>
				<tr>
					<td><input class="itemEditInputText" type="text" name="itemTitle" title="{i18n:itemEdit_titleInfo}" value="{itemTitleValue}"></td>
				</tr>
				<tr>
					<td>{i18n:itemEdit_priceLabel}</td>
				</tr>
				<tr>
					<td><input class="itemEditInputText" type="text" name="itemPrice" title="{i18n:itemEdit_priceInfo}" value="{itemPriceValue}"></td>
				</tr>
				<tr>
					<td>{i18n:itemEdit_descriptionLabel}</td>
				</tr>
				<tr>
					<td><textarea class="itemEditTextarea" name="itemDescription" title="{i18n:itemEdit_descriptionInfo}">{itemDescriptionValue}</textarea></td>
				</tr>
				<tr>
					<td height="80px" align="center">
						<button id="itemEditBackButton" link="/item/{itemId}">{i18n:itemEdit_backButton}</button>
						<button id="itemEditSubmitButton">{i18n:itemEdit_submitButton}</button>
					</td>
				</tr>
			</table>
		</td>
		<td style="padding-left:30px" valign="top">
			<p>
				<input type="checkbox" id="useLocation" name="useLocation" value="true" {useLocationChecked}>{i18n:itemAdd_useLocation}
			</p>
			<input type="text" id="mapSearch" onkeypress="return handleKeyPress(this, event)"><input type="button" value="{i18n:findAddress}" onclick="return findAddress()">
			{googleMapSelection}
			<input type="hidden" id="latitude" name="latitude" value="">
			<input type="hidden" id="longitude" name="longitude" value="">
		</td>
	</tr>
	</table>
	<input type="hidden" name="randomKey" value="{randomKey}">
</form>